package com.ly.common.core.bean.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

/**
 * sms短信-dto
 *
 * @author jeecg
 * @date 2023/4/10 13:39
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "sms短信入参")
public class SmsDTO {

    @NotEmpty(message = "手机号不能为空")
    @Schema(description = "手机号")
    private String mobile;

    @NotEmpty(message = "验证码不能为空")
    @Schema(description = "验证码")
    private String captcha;

    @Schema(description = "模版code")
    private String templateCode;
}
